package com.example.kotlintest.bean

/**
 * Created by Administrator on 2022-03-01
 */
data class WeatherData(
    var resultcode: String,
    var reason: String,
    var result: Result,
    var error_code: Int
) {
    data class Result(
        var sk: Sk,
        var today: Today,
        var future: Future
    ) {
        data class Sk(
            var temp: String,
            var wind_direction: String,
            var wind_strength: String,
            var humidity: String,
            var time: String
        )

        data class Today(
            var temperature: String,
            var weather: String,
            var weather_id: WeatherId,
            var wind: String,
            var week: String,
            var city: String,
            var date_y: String,
            var dressing_index: String,
            var dressing_advice: String,
            var uv_index: String,
            var comfort_index: String,
            var wash_index: String,
            var travel_index: String,
            var exercise_index: String,
            var drying_index: String
        ) {
            data class WeatherId(
                var fa: String,
                var fb: String
            )
        }

        data class Future(
            var day_20220228: Day20220228,
            var day_20220301: Day20220301,
            var day_20220302: Day20220302,
            var day_20220303: Day20220303,
            var day_20220304: Day20220304,
            var day_20220305: Day20220305,
            var day_20220306: Day20220306
        ) {
            data class Day20220228(
                var temperature: String,
                var weather: String,
                var weather_id: WeatherId,
                var wind: String,
                var week: String,
                var date: String
            ) {
                data class WeatherId(
                    var fa: String,
                    var fb: String
                )
            }

            data class Day20220301(
                var temperature: String,
                var weather: String,
                var weather_id: WeatherId,
                var wind: String,
                var week: String,
                var date: String
            ) {
                data class WeatherId(
                    var fa: String,
                    var fb: String
                )
            }

            data class Day20220302(
                var temperature: String,
                var weather: String,
                var weather_id: WeatherId,
                var wind: String,
                var week: String,
                var date: String
            ) {
                data class WeatherId(
                    var fa: String,
                    var fb: String
                )
            }

            data class Day20220303(
                var temperature: String,
                var weather: String,
                var weather_id: WeatherId,
                var wind: String,
                var week: String,
                var date: String
            ) {
                data class WeatherId(
                    var fa: String,
                    var fb: String
                )
            }

            data class Day20220304(
                var temperature: String,
                var weather: String,
                var weather_id: WeatherId,
                var wind: String,
                var week: String,
                var date: String
            ) {
                data class WeatherId(
                    var fa: String,
                    var fb: String
                )
            }

            data class Day20220305(
                var temperature: String,
                var weather: String,
                var weather_id: WeatherId,
                var wind: String,
                var week: String,
                var date: String
            ) {
                data class WeatherId(
                    var fa: String,
                    var fb: String
                )
            }

            data class Day20220306(
                var temperature: String,
                var weather: String,
                var weather_id: WeatherId,
                var wind: String,
                var week: String,
                var date: String
            ) {
                data class WeatherId(
                    var fa: String,
                    var fb: String
                )
            }
        }
    }
}